package com.geo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.retry.annotation.EnableRetry;
import lombok.extern.slf4j.Slf4j;

/**
 * GEO（Generative Engine Optimization）商业化平台
 * AI大模型驱动的关键词优化服务
 * 
 * @author GEO Team
 * @version 1.0.0
 */
@Slf4j
@SpringBootApplication
@EnableScheduling
@EnableAsync
@EnableTransactionManagement
@EnableRetry
@MapperScan("com.geo.**.mapper")
public class GeoPlatformApplication {
    
    private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(GeoPlatformApplication.class);
    
    public static void main(String[] args) {
        log.info("正在启动 GEO 平台...");
        
        SpringApplication.run(GeoPlatformApplication.class, args);
        
        log.info("🚀 GEO 平台启动成功!");
        log.info("📊 实时监控: AI模型关键词优化服务已就绪");
        log.info("🤖 支持模型: OpenAI GPT, 文心一言, 通义千问, Claude 等");
        log.info("📱 管理后台: http://localhost:8080");
    }
}